package com.csun.cmny.provider.model.vo.csunbody;

import com.csun.cmny.provider.model.vo.device.DmcDeviceVo;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-12 20:37
 * @Description: the class dmc csun body sensor vo
 */
@Data
@ApiModel(value = "人体感应")
@EqualsAndHashCode(callSuper = true)
public class DmcCsunBodySensorVo extends DmcDeviceVo {

    private static final long serialVersionUID = -3349336326389633235L;

    /**
     * 设备绑定类型 0-自定义 1-房间
     */
    private Integer bindType;

    /**
     * 房间Id
     */
    private Integer roomId;

    /**
     * 设备绑定位置
     */
    private String location;

    /**
     * 电量 V * 10
     */
    private String adcValue;

    /**
     * 电量百分比
     */
    private String adcPercent;

    /**
     * 是否绑定 true - 绑定 false - 未绑定
     */
    private boolean bind = false;

    /**
     * 楼栋名称
     */
    private String buildingName = "--";

    /**
     * 楼层
     */
    private Integer floorNo;

    /**
     * 房间名称
     */
    private String roomNo = "--";

    /**
     * 老人Id
     */
    private Integer oldmanId;

    /**
     * 老人姓名
     */
    private String oldmanName = "--";

}
